Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add publish workflow #5

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Add publish workflow #5

merged 1 commit into from
Dec 22, 2023

Conversation

jgarber623
Copy link

This workflow will build and publish a new version of the gem to both RubyGems.org and GitHub packages when a new GitHub Release is created.

Additionally, the RubyGems-pushed gem uses Trusted Publishing for added security.

See: https://guides.rubygems.org/trusted-publishing/

This workflow is derived from my personal work and has served me well so far.

An example:

https://github.com/jgarber623/micromicro/blob/main/.github/workflows/publish.yml

This workflow will build and publish a new version of the gem to both
RubyGems.org and GitHub packages when a new GitHub Release is created.

Additionally, the RubyGems-pushed gem uses Trusted Publishing for added
security.

See: https://guides.rubygems.org/trusted-publishing/

This workflow is derived from my personal work and has served me well so
far.

An example:

https://github.com/jgarber623/micromicro/blob/main/.github/workflows/publish.yml
@jgarber623 jgarber623 self-assigned this Dec 22, 2023
@jgarber623 jgarber623 requested a review from a team as a code owner December 22, 2023 18:50
@jgarber623 jgarber623 merged commit 2edb935 into main Dec 22, 2023
4 checks passed
@jgarber623 jgarber623 deleted the add-publish-workflow branch December 22, 2023 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants